package com.sun.web;

import org.apache.ibatis.javassist.NotFoundException;
import org.omg.CosNaming.NamingContextPackage.NotFound;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller

public class indexController {
    @GetMapping("/")
    public String index() {
//        System.out.println("======index=====");
        return "admin/blogs";

    }
    @GetMapping("/blog")
    public String blog() {
//        System.out.println("======index=====");
        return "blog";

    }
}
